package hexin.dao;

import hexin.bean.User;
import org.springframework.stereotype.Repository;

@Repository("userDao")
public class UserDaoImpl implements UserDao {

    @Override
    public void add(User user) {
        System.out.println("add user:" + user);
    }

    @Override
    public void delete(int id) {
        System.out.println("delete user:" + id);
    }

    @Override
    public User load(int id) {
        System.out.println("load:" + id);
        return null;
    }
}
